﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public interface IBanRepository
    {
         Ban GetByTenBan(string tenBan);
         IQueryable<Ban> GetAll();
         void AddNew(Ban ban);
         void Delete(Ban ban);
         bool Update(Ban ban);
    }
}
